package com.huahai.security.core.validate.code;

/**
 * @Author: Jun
 * @Date: 2020/7/17
 *
 * 验证码
 */
public class ValidateCode {

    /**
     * 当前验证码唯一标识  用于redis存储
     */
    private String uuid;

    private String code;
    private long expireIn;

    public ValidateCode(String code, long expireIn) {
        this.code = code;
        this.expireIn = expireIn;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public long getExpireIn() {
        return expireIn;
    }

    public void setExpireIn(long expireIn) {
        this.expireIn = expireIn;
    }

}
